package com.ht.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 数据规则
 */
@Data
@TableName("sys_data_rule")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "sys_data_rule对象", description = "数据规则")
public class DataRule {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @Excel(name = "更新日期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 所属部门
     */
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 删除标记
     */
    @Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    private String delFlag;
    /**
     * 接口路径
     */
    @Excel(name = "接口路径", width = 15)
    @ApiModelProperty(value = "接口路径")
    private String interfaceUrl;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 条件类别
     */
    @Excel(name = "条件类别", width = 15)
    @ApiModelProperty(value = "条件类别")
    private String conditionCategory;
    /**
     * 条件
     */
    @Excel(name = "条件", width = 15)
    @ApiModelProperty(value = "条件")
    private String conditions;
    /**
     * 条件结果
     */
    @Excel(name = "条件结果", width = 15)
    @ApiModelProperty(value = "条件结果")
    private String conditionResults;
    /**
     * 优先级
     */
    @Excel(name = "优先级", width = 15)
    @ApiModelProperty(value = "优先级")
    private Integer priority;
    /**
     * 表名
     */
    @Excel(name = "表名", width = 15)
    @ApiModelProperty(value = "表名")
    private String tableName;
    /**
     * 表描述
     */
    @Excel(name = "表描述", width = 15)
    @ApiModelProperty(value = "表描述")
    private String tableDescription;
    /**
     * 字段名
     */
    @Excel(name = "字段名", width = 15)
    @ApiModelProperty(value = "字段名")
    private String fieldName;
    /**
     * 字段描述
     */
    @Excel(name = "字段描述", width = 15)
    @ApiModelProperty(value = "字段描述")
    private String fieldDescription;
    /**
     * 数据判断类别
     */
    @Excel(name = "数据判断类别", width = 15)
    @ApiModelProperty(value = "数据判断类别")
    private String dataJudgeCategory;
    /**
     * 数据判断结果
     */
    @Excel(name = "数据判断结果", width = 15)
    @ApiModelProperty(value = "数据判断结果")
    private String dataJudgeResults;
    /**
     * 状态 0停止 1启用
     */
    @Excel(name = "状态 0停止 1启用", width = 15)
    @ApiModelProperty(value = "状态 0停止 1启用")
    private String status;

    /**
     * 条件结果描述
     */
    @Excel(name = "条件结果描述", width = 15)
    @ApiModelProperty(value = "条件结果描述")
    private String conditionResultsText;
    /**
     * 数据判断结果描述
     */
    @Excel(name = "数据判断结果描述", width = 15)
    @ApiModelProperty(value = "数据判断结果描述")
    private String dataJudgeResultsText;
}
